#include <windows.h>
#include "CSimpleEventPacket.h"

CSimpleEventPacket::CSimpleEventPacket(int charid,unsigned short targid,unsigned short zone,int eventid,unsigned short zone2,unsigned short unknown) {

	this->type		=	0x32;
	this->size		=	0x0A;

	memcpy(this->data, &charid, 4);
	memcpy(this->data+4, &targid, 2);
	memcpy(this->data+6, &zone, 2);
	memcpy(this->data+8, &eventid, 4);
	memcpy(this->data+12, &zone2, 2);
	memcpy(this->data+14, &unknown, 2);

}
	
CSimpleEventPacket::~CSimpleEventPacket(void){

}